﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo525_3
{
    class Program
    {
        static void Main(string[] args)
        {
            UDisk uDisk = new UDisk("很能存");
            MobileDisk mobileDisk = new MobileDisk("很不能存");
            Computer computer = new Computer("一台",uDisk,mobileDisk);
            computer.Open();
            computer.Read();
            computer.Write();
            computer.Close();
        }
    }
}
